<table class="infotable">
<tr>
<td><span class="label">仓库</span><?php echo $this->stockin->__get('entrepotModel.name');?></td>
<td><span class="label">卡号</span><?php echo $this->stockin->__get('position');?></td>
<td></td>
</tr>
<tr>
<td><span class="label">仓库地址</span><?php echo $this->stockin->__get('entrepot_Model.address');?></td>
<td><span class="label">联系人</span><?php echo $this->stockin->__get('entrepotModel.contact');?></td>
<td><span class="label">电话</span><?php echo $this->stockin->__get('entrepotModel.phone');?></td>
</tr>
</table>

<table class="infotable">
    <tr>
     <td class="label" >品名</td>
     <td class="label">规格</td>
     <td class="label">长度</td>
     <td class="label">支数、件数</td>
     <td class="label">重量</td>
     <td class="label">成本价</td>
   </tr>
    <?php foreach ($this->stockin->__get('stockModelArray') as $stock) { ?>   
	<tr>	 
     <td><?php echo($stock->__get('steelId'));?></td>
     <td><?php echo($stock->__get('specs'));?></td>
     <td> <?php echo($stock->__get('length'));?></td>
     <td> <?php echo($stock->__get('amount'));?></td>
     <td> <?php echo($stock->__get('weight'));?></td>
     <td> <?php echo($stock->__get('costPrice'));?></td>
   </tr>
   <?php } ?>    
</table>
